package com.nbot.server.mapper.master;

import com.nbot.server.domain.RoleDO;

import java.util.List;
import java.util.Map;

/**
 * Created by lovewinner on 2018/6/6.
 */
public interface RoleMapper {
    RoleDO get(Long roleId);

    List<RoleDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(RoleDO role);

    int update(RoleDO role);

    int remove(Long roleId);

    int batchRemove(Long[] roleIds);
}
